package com.zhiyou.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Transient;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Product {

    @Id
    private Integer id;

    private Integer userId;

    private String serviceName;

    private String servicePhone;

    private Integer typeId;

    private String title;

    private String imageUrl;

    private String goal;

    private Integer cityId;

    private Integer money;

    private Integer days;

    private String video;

    private String story;

    private String providereturns;

    private String aboutme;

    private Integer status;

    private Date startTime;

    private Date endTime;

    private Double getmoney;

    private Integer getpeople;

    private Type productType;

    private User user;

    @Transient
    private Double personPayMoney;

}